exports.register = (req, res, next) => {
   try {
     res.send('post /users')
   } catch (error) {
     next(error)
   }
 }

 exports.login = (req, res, next) => {
   try {
     res.send('post /users/login')
   } catch (error) {
     next(error)
   }
 }
 
//获取登录用户资料
exports.getCurrentUser = (req, res, next) => {
  try {
    res.send('get /user')
  } catch (error) {
    next(error)
  }
} 

//更新登录用户资料
exports.updateCurrentUser = (req, res, next) => {
  try {
    res.send('get /user')
  } catch (error) {
    next(error)
  }
}